﻿using System;
using System.ComponentModel.DataAnnotations;

namespace NandleNF.DataType.Pessoa
{
    [Serializable()]
    [Table("PessoaJuridica")]
    public class TPessoaJuridica : TPessoa
    {
        [Required]
        [StringLength(14)]
        public String Cnpj { get; set; }

        [Required]
        public DateTime DataCriacao { get; set; }

        [Required]
        [StringLength(100)]
        public String RazaoSocial { get; set; }

        [StringLength(14)]
        public String InscricaoEstadual { get; set; }

        [StringLength(80)]
        public String SiteInstituicao { get; set; }

        [StringLength(100)]
        public String NomeResponsavel { get; set; }
    }
}
